package com.sq.universe.flowable.feign;

import com.sq.universe.base.entity.RespEntity;
import com.sq.universe.flowable.entity.WorkflowEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "universe-flowable")
@RequestMapping("/workflow")
public interface WorkflowFeign {

    @PostMapping("/start")
    public RespEntity start(WorkflowEntity workflowEntity);
}
